package com.spdb.oa.type;

import java.util.List;

public class NextStep {
	public String id;
	public String activityId;
	public String name;
	public String displayName;
	public String displayType;
	public String single;
	public String feedbackFunctionName;
	public String feedbackParameter;
	public List<NextStep.User> users;
	
	public NextStep(String id, String activityId, String name, String displayName, String displayType, String single,
			String feedbackFunctionName, String feedbackParameter, List<User> users) {
		super();
		this.id = id;
		this.activityId = activityId;
		this.name = name;
		this.displayName = displayName;
		this.displayType = displayType;
		this.single = single;
		this.feedbackFunctionName = feedbackFunctionName;
		this.feedbackParameter = feedbackParameter;
		this.users = users;
	}

	public NextStep(String id, String activityId, String name, String displayName, String displayType, String single,
			String feedbackFunctionName, String feedbackParameter) {
		super();
		this.id = id;
		this.activityId = activityId;
		this.name = name;
		this.displayName = displayName;
		this.displayType = displayType;
		this.single = single;
		this.feedbackFunctionName = feedbackFunctionName;
		this.feedbackParameter = feedbackParameter;
	}

	public NextStep() {
		// TODO Auto-generated constructor stub
	}


	@Override
	public String toString() {
		return "NextStep [id=" + id + ", activityId=" + activityId + ", name=" + name + ", displayName=" + displayName
				+ ", displayType=" + displayType + ", single=" + single + ", feedbackFunctionName="
				+ feedbackFunctionName + ", feedbackParameter=" + feedbackParameter + ", users=" + users + "]";
	}


	static public class User {
		public String id;
		public String userName;
		public String displayName;
		public String userAccount;
		public String deptId;
		public String deptName;
		public String companyId;
		public String companyName;
		public String content; 
		public String feedbackParameter;
		public User(String id, String userName, String displayName, String userAccount, String deptId, String deptName,
				String companyId, String companyName, String content, String feedbackParameter) {
			super();
			this.id = id;
			this.userName = userName;
			this.displayName = displayName;
			this.userAccount = userAccount;
			this.deptId = deptId;
			this.deptName = deptName;
			this.companyId = companyId;
			this.companyName = companyName;
			this.content = content;
			this.feedbackParameter = feedbackParameter;
		}
		public User() {
			// TODO Auto-generated constructor stub
		}
		@Override
		public String toString() {
			return "User [id=" + id + ", userName=" + userName + ", displayName=" + displayName + ", userAccount="
					+ userAccount + ", deptId=" + deptId + ", deptName=" + deptName + ", companyId=" + companyId
					+ ", companyName=" + companyName + ", content=" + content + ", feedbackParameter="
					+ feedbackParameter + "]";
		}
	}
}
